class @socialLayoutView extends Backbone.View
    el:$("#content")

    initialize:->
        section = $(@el).find('section')
        asside = $(@el).find('aside')
        if ( (section==null or section.length==0) and (asside==null or asside.length==0) ) 
            @render()

    render:->
        $(@el).html("<section></section><aside><div class='Avatar'></div><div class='Friends'></div><div class='FriendIsAccepted'></div></aside>")
        profileModel = new SocialProfileModel()
        profileModel.set("Login",@model.get("Login"))
        profileView = new SocialProfileView({model:profileModel})
        friendsModel = new SocialFriendsModel()
        friendsModel.set("Login",@model.get("Login"))
        friendsView = new SocialFriendsView({model:friendsModel})
        friendsRequestModel = new socialFriendsRequestModel()
        friendsRequestModel.set("Login",@model.get("Login"))
        friendsRequestView = new SocialFriendsRequestView({model:friendsRequestModel})
